<template>
  <div class="header">
    <router-link to="/">
      <div class="iconfont icon-zuobian header-icon"></div>
    </router-link>
    城市选择
  </div>
</template>

<script>
export default {
  name: 'Header',
  data() {
    return {
      msg: '新建模板'
    }
  }
}
</script>

<style lang="stylus" scoped>
@import "~styles/varibles.styl"
.header
  position relative
  overflow hidden
  height $headerHeight
  line-height $headerHeight
  text-align center
  color #fff
  background $bgColor
  font-size .32rem
  .header-icon
    position absolute
    left 0
    top 0
    width .64rem
    text-align center
    font-size .4rem
    color #fff
</style>
